package event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	public class TripManagerEvent extends CairngormEvent
	{
		/***************** 
		 *  Event types
		 *****************/
		public static var FETCH_ALL_TRIPS:String = "fetch all my trips";
		public static var GET_PLACE_COMMENTS:String = "get place comments";
		public static var SAVE_COMMENT:String = "save comment";
		public static var SAVE_TRIP:String = "saving my trips";
		public static var GET_MY_PICTURES:String = "get my pictures";
		public static var DELETE_PLACE:String = "delete my place";
		public static var DELETE_TRIP:String = "delete my trip";
		
		
		public static var SEARCH_TRIP:String = "search for trip";
		
		/*************************
		 *  Data
		 ************************/ 
		public var additionalData:Object;
		
		public function TripManagerEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			additionalData = new Object();
			super(type, bubbles, cancelable);
		}
	}
}